package com.sicau.service.impl;

import com.sicau.dao.UpdateTimeMapper;

import com.sicau.entity.dto.UpdateTime;
import com.sicau.service.UpdateTimeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class UpdateTimeSeviceImp implements UpdateTimeService {

    @Autowired
    UpdateTimeMapper updaeTimeDao;

    @Override
    public UpdateTime getUpdateTime(String id)throws Exception {
        return updaeTimeDao.selectUpdateTime(id);//查询最近更新时间，并返回UpdateTime对象
    }
}
